package com.crm.model.entity.customerManager;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CustomerProductDetailYunExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CustomerProductDetailYunExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andYunIdIsNull() {
            addCriterion("yun_id is null");
            return (Criteria) this;
        }

        public Criteria andYunIdIsNotNull() {
            addCriterion("yun_id is not null");
            return (Criteria) this;
        }

        public Criteria andYunIdEqualTo(String value) {
            addCriterion("yun_id =", value, "yunId");
            return (Criteria) this;
        }

        public Criteria andYunIdNotEqualTo(String value) {
            addCriterion("yun_id <>", value, "yunId");
            return (Criteria) this;
        }

        public Criteria andYunIdGreaterThan(String value) {
            addCriterion("yun_id >", value, "yunId");
            return (Criteria) this;
        }

        public Criteria andYunIdGreaterThanOrEqualTo(String value) {
            addCriterion("yun_id >=", value, "yunId");
            return (Criteria) this;
        }

        public Criteria andYunIdLessThan(String value) {
            addCriterion("yun_id <", value, "yunId");
            return (Criteria) this;
        }

        public Criteria andYunIdLessThanOrEqualTo(String value) {
            addCriterion("yun_id <=", value, "yunId");
            return (Criteria) this;
        }

        public Criteria andYunIdLike(String value) {
            addCriterion("yun_id like", value, "yunId");
            return (Criteria) this;
        }

        public Criteria andYunIdNotLike(String value) {
            addCriterion("yun_id not like", value, "yunId");
            return (Criteria) this;
        }

        public Criteria andYunIdIn(List<String> values) {
            addCriterion("yun_id in", values, "yunId");
            return (Criteria) this;
        }

        public Criteria andYunIdNotIn(List<String> values) {
            addCriterion("yun_id not in", values, "yunId");
            return (Criteria) this;
        }

        public Criteria andYunIdBetween(String value1, String value2) {
            addCriterion("yun_id between", value1, value2, "yunId");
            return (Criteria) this;
        }

        public Criteria andYunIdNotBetween(String value1, String value2) {
            addCriterion("yun_id not between", value1, value2, "yunId");
            return (Criteria) this;
        }

        public Criteria andYunCrmIdIsNull() {
            addCriterion("yun_crm_id is null");
            return (Criteria) this;
        }

        public Criteria andYunCrmIdIsNotNull() {
            addCriterion("yun_crm_id is not null");
            return (Criteria) this;
        }

        public Criteria andYunCrmIdEqualTo(String value) {
            addCriterion("yun_crm_id =", value, "yunCrmId");
            return (Criteria) this;
        }

        public Criteria andYunCrmIdNotEqualTo(String value) {
            addCriterion("yun_crm_id <>", value, "yunCrmId");
            return (Criteria) this;
        }

        public Criteria andYunCrmIdGreaterThan(String value) {
            addCriterion("yun_crm_id >", value, "yunCrmId");
            return (Criteria) this;
        }

        public Criteria andYunCrmIdGreaterThanOrEqualTo(String value) {
            addCriterion("yun_crm_id >=", value, "yunCrmId");
            return (Criteria) this;
        }

        public Criteria andYunCrmIdLessThan(String value) {
            addCriterion("yun_crm_id <", value, "yunCrmId");
            return (Criteria) this;
        }

        public Criteria andYunCrmIdLessThanOrEqualTo(String value) {
            addCriterion("yun_crm_id <=", value, "yunCrmId");
            return (Criteria) this;
        }

        public Criteria andYunCrmIdLike(String value) {
            addCriterion("yun_crm_id like", value, "yunCrmId");
            return (Criteria) this;
        }

        public Criteria andYunCrmIdNotLike(String value) {
            addCriterion("yun_crm_id not like", value, "yunCrmId");
            return (Criteria) this;
        }

        public Criteria andYunCrmIdIn(List<String> values) {
            addCriterion("yun_crm_id in", values, "yunCrmId");
            return (Criteria) this;
        }

        public Criteria andYunCrmIdNotIn(List<String> values) {
            addCriterion("yun_crm_id not in", values, "yunCrmId");
            return (Criteria) this;
        }

        public Criteria andYunCrmIdBetween(String value1, String value2) {
            addCriterion("yun_crm_id between", value1, value2, "yunCrmId");
            return (Criteria) this;
        }

        public Criteria andYunCrmIdNotBetween(String value1, String value2) {
            addCriterion("yun_crm_id not between", value1, value2, "yunCrmId");
            return (Criteria) this;
        }

        public Criteria andYunCardIsNull() {
            addCriterion("yun_card is null");
            return (Criteria) this;
        }

        public Criteria andYunCardIsNotNull() {
            addCriterion("yun_card is not null");
            return (Criteria) this;
        }

        public Criteria andYunCardEqualTo(String value) {
            addCriterion("yun_card =", value, "yunCard");
            return (Criteria) this;
        }

        public Criteria andYunCardNotEqualTo(String value) {
            addCriterion("yun_card <>", value, "yunCard");
            return (Criteria) this;
        }

        public Criteria andYunCardGreaterThan(String value) {
            addCriterion("yun_card >", value, "yunCard");
            return (Criteria) this;
        }

        public Criteria andYunCardGreaterThanOrEqualTo(String value) {
            addCriterion("yun_card >=", value, "yunCard");
            return (Criteria) this;
        }

        public Criteria andYunCardLessThan(String value) {
            addCriterion("yun_card <", value, "yunCard");
            return (Criteria) this;
        }

        public Criteria andYunCardLessThanOrEqualTo(String value) {
            addCriterion("yun_card <=", value, "yunCard");
            return (Criteria) this;
        }

        public Criteria andYunCardLike(String value) {
            addCriterion("yun_card like", value, "yunCard");
            return (Criteria) this;
        }

        public Criteria andYunCardNotLike(String value) {
            addCriterion("yun_card not like", value, "yunCard");
            return (Criteria) this;
        }

        public Criteria andYunCardIn(List<String> values) {
            addCriterion("yun_card in", values, "yunCard");
            return (Criteria) this;
        }

        public Criteria andYunCardNotIn(List<String> values) {
            addCriterion("yun_card not in", values, "yunCard");
            return (Criteria) this;
        }

        public Criteria andYunCardBetween(String value1, String value2) {
            addCriterion("yun_card between", value1, value2, "yunCard");
            return (Criteria) this;
        }

        public Criteria andYunCardNotBetween(String value1, String value2) {
            addCriterion("yun_card not between", value1, value2, "yunCard");
            return (Criteria) this;
        }

        public Criteria andYunPasswordIsNull() {
            addCriterion("yun_password is null");
            return (Criteria) this;
        }

        public Criteria andYunPasswordIsNotNull() {
            addCriterion("yun_password is not null");
            return (Criteria) this;
        }

        public Criteria andYunPasswordEqualTo(String value) {
            addCriterion("yun_password =", value, "yunPassword");
            return (Criteria) this;
        }

        public Criteria andYunPasswordNotEqualTo(String value) {
            addCriterion("yun_password <>", value, "yunPassword");
            return (Criteria) this;
        }

        public Criteria andYunPasswordGreaterThan(String value) {
            addCriterion("yun_password >", value, "yunPassword");
            return (Criteria) this;
        }

        public Criteria andYunPasswordGreaterThanOrEqualTo(String value) {
            addCriterion("yun_password >=", value, "yunPassword");
            return (Criteria) this;
        }

        public Criteria andYunPasswordLessThan(String value) {
            addCriterion("yun_password <", value, "yunPassword");
            return (Criteria) this;
        }

        public Criteria andYunPasswordLessThanOrEqualTo(String value) {
            addCriterion("yun_password <=", value, "yunPassword");
            return (Criteria) this;
        }

        public Criteria andYunPasswordLike(String value) {
            addCriterion("yun_password like", value, "yunPassword");
            return (Criteria) this;
        }

        public Criteria andYunPasswordNotLike(String value) {
            addCriterion("yun_password not like", value, "yunPassword");
            return (Criteria) this;
        }

        public Criteria andYunPasswordIn(List<String> values) {
            addCriterion("yun_password in", values, "yunPassword");
            return (Criteria) this;
        }

        public Criteria andYunPasswordNotIn(List<String> values) {
            addCriterion("yun_password not in", values, "yunPassword");
            return (Criteria) this;
        }

        public Criteria andYunPasswordBetween(String value1, String value2) {
            addCriterion("yun_password between", value1, value2, "yunPassword");
            return (Criteria) this;
        }

        public Criteria andYunPasswordNotBetween(String value1, String value2) {
            addCriterion("yun_password not between", value1, value2, "yunPassword");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdIsNull() {
            addCriterion("create_people_id is null");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdIsNotNull() {
            addCriterion("create_people_id is not null");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdEqualTo(String value) {
            addCriterion("create_people_id =", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotEqualTo(String value) {
            addCriterion("create_people_id <>", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdGreaterThan(String value) {
            addCriterion("create_people_id >", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdGreaterThanOrEqualTo(String value) {
            addCriterion("create_people_id >=", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdLessThan(String value) {
            addCriterion("create_people_id <", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdLessThanOrEqualTo(String value) {
            addCriterion("create_people_id <=", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdLike(String value) {
            addCriterion("create_people_id like", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotLike(String value) {
            addCriterion("create_people_id not like", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdIn(List<String> values) {
            addCriterion("create_people_id in", values, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotIn(List<String> values) {
            addCriterion("create_people_id not in", values, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdBetween(String value1, String value2) {
            addCriterion("create_people_id between", value1, value2, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotBetween(String value1, String value2) {
            addCriterion("create_people_id not between", value1, value2, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreateTmIsNull() {
            addCriterion("create_tm is null");
            return (Criteria) this;
        }

        public Criteria andCreateTmIsNotNull() {
            addCriterion("create_tm is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTmEqualTo(Date value) {
            addCriterion("create_tm =", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotEqualTo(Date value) {
            addCriterion("create_tm <>", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmGreaterThan(Date value) {
            addCriterion("create_tm >", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmGreaterThanOrEqualTo(Date value) {
            addCriterion("create_tm >=", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmLessThan(Date value) {
            addCriterion("create_tm <", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmLessThanOrEqualTo(Date value) {
            addCriterion("create_tm <=", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmIn(List<Date> values) {
            addCriterion("create_tm in", values, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotIn(List<Date> values) {
            addCriterion("create_tm not in", values, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmBetween(Date value1, Date value2) {
            addCriterion("create_tm between", value1, value2, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotBetween(Date value1, Date value2) {
            addCriterion("create_tm not between", value1, value2, "createTm");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdIsNull() {
            addCriterion("update_people_id is null");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdIsNotNull() {
            addCriterion("update_people_id is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdEqualTo(String value) {
            addCriterion("update_people_id =", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotEqualTo(String value) {
            addCriterion("update_people_id <>", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdGreaterThan(String value) {
            addCriterion("update_people_id >", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdGreaterThanOrEqualTo(String value) {
            addCriterion("update_people_id >=", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdLessThan(String value) {
            addCriterion("update_people_id <", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdLessThanOrEqualTo(String value) {
            addCriterion("update_people_id <=", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdLike(String value) {
            addCriterion("update_people_id like", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotLike(String value) {
            addCriterion("update_people_id not like", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdIn(List<String> values) {
            addCriterion("update_people_id in", values, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotIn(List<String> values) {
            addCriterion("update_people_id not in", values, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdBetween(String value1, String value2) {
            addCriterion("update_people_id between", value1, value2, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotBetween(String value1, String value2) {
            addCriterion("update_people_id not between", value1, value2, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdateTmIsNull() {
            addCriterion("update_tm is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTmIsNotNull() {
            addCriterion("update_tm is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTmEqualTo(Date value) {
            addCriterion("update_tm =", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmNotEqualTo(Date value) {
            addCriterion("update_tm <>", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmGreaterThan(Date value) {
            addCriterion("update_tm >", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmGreaterThanOrEqualTo(Date value) {
            addCriterion("update_tm >=", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmLessThan(Date value) {
            addCriterion("update_tm <", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmLessThanOrEqualTo(Date value) {
            addCriterion("update_tm <=", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmIn(List<Date> values) {
            addCriterion("update_tm in", values, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmNotIn(List<Date> values) {
            addCriterion("update_tm not in", values, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmBetween(Date value1, Date value2) {
            addCriterion("update_tm between", value1, value2, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmNotBetween(Date value1, Date value2) {
            addCriterion("update_tm not between", value1, value2, "updateTm");
            return (Criteria) this;
        }

        public Criteria andProductOrderIdIsNull() {
            addCriterion("product_order_id is null");
            return (Criteria) this;
        }

        public Criteria andProductOrderIdIsNotNull() {
            addCriterion("product_order_id is not null");
            return (Criteria) this;
        }

        public Criteria andProductOrderIdEqualTo(String value) {
            addCriterion("product_order_id =", value, "productOrderId");
            return (Criteria) this;
        }

        public Criteria andProductOrderIdNotEqualTo(String value) {
            addCriterion("product_order_id <>", value, "productOrderId");
            return (Criteria) this;
        }

        public Criteria andProductOrderIdGreaterThan(String value) {
            addCriterion("product_order_id >", value, "productOrderId");
            return (Criteria) this;
        }

        public Criteria andProductOrderIdGreaterThanOrEqualTo(String value) {
            addCriterion("product_order_id >=", value, "productOrderId");
            return (Criteria) this;
        }

        public Criteria andProductOrderIdLessThan(String value) {
            addCriterion("product_order_id <", value, "productOrderId");
            return (Criteria) this;
        }

        public Criteria andProductOrderIdLessThanOrEqualTo(String value) {
            addCriterion("product_order_id <=", value, "productOrderId");
            return (Criteria) this;
        }

        public Criteria andProductOrderIdLike(String value) {
            addCriterion("product_order_id like", value, "productOrderId");
            return (Criteria) this;
        }

        public Criteria andProductOrderIdNotLike(String value) {
            addCriterion("product_order_id not like", value, "productOrderId");
            return (Criteria) this;
        }

        public Criteria andProductOrderIdIn(List<String> values) {
            addCriterion("product_order_id in", values, "productOrderId");
            return (Criteria) this;
        }

        public Criteria andProductOrderIdNotIn(List<String> values) {
            addCriterion("product_order_id not in", values, "productOrderId");
            return (Criteria) this;
        }

        public Criteria andProductOrderIdBetween(String value1, String value2) {
            addCriterion("product_order_id between", value1, value2, "productOrderId");
            return (Criteria) this;
        }

        public Criteria andProductOrderIdNotBetween(String value1, String value2) {
            addCriterion("product_order_id not between", value1, value2, "productOrderId");
            return (Criteria) this;
        }

        public Criteria andProductCodeIsNull() {
            addCriterion("product_code is null");
            return (Criteria) this;
        }

        public Criteria andProductCodeIsNotNull() {
            addCriterion("product_code is not null");
            return (Criteria) this;
        }

        public Criteria andProductCodeEqualTo(String value) {
            addCriterion("product_code =", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeNotEqualTo(String value) {
            addCriterion("product_code <>", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeGreaterThan(String value) {
            addCriterion("product_code >", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeGreaterThanOrEqualTo(String value) {
            addCriterion("product_code >=", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeLessThan(String value) {
            addCriterion("product_code <", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeLessThanOrEqualTo(String value) {
            addCriterion("product_code <=", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeLike(String value) {
            addCriterion("product_code like", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeNotLike(String value) {
            addCriterion("product_code not like", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeIn(List<String> values) {
            addCriterion("product_code in", values, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeNotIn(List<String> values) {
            addCriterion("product_code not in", values, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeBetween(String value1, String value2) {
            addCriterion("product_code between", value1, value2, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeNotBetween(String value1, String value2) {
            addCriterion("product_code not between", value1, value2, "productCode");
            return (Criteria) this;
        }

        public Criteria andFinishOrderProductNumIsNull() {
            addCriterion("finish_order_product_num is null");
            return (Criteria) this;
        }

        public Criteria andFinishOrderProductNumIsNotNull() {
            addCriterion("finish_order_product_num is not null");
            return (Criteria) this;
        }

        public Criteria andFinishOrderProductNumEqualTo(String value) {
            addCriterion("finish_order_product_num =", value, "finishOrderProductNum");
            return (Criteria) this;
        }

        public Criteria andFinishOrderProductNumNotEqualTo(String value) {
            addCriterion("finish_order_product_num <>", value, "finishOrderProductNum");
            return (Criteria) this;
        }

        public Criteria andFinishOrderProductNumGreaterThan(String value) {
            addCriterion("finish_order_product_num >", value, "finishOrderProductNum");
            return (Criteria) this;
        }

        public Criteria andFinishOrderProductNumGreaterThanOrEqualTo(String value) {
            addCriterion("finish_order_product_num >=", value, "finishOrderProductNum");
            return (Criteria) this;
        }

        public Criteria andFinishOrderProductNumLessThan(String value) {
            addCriterion("finish_order_product_num <", value, "finishOrderProductNum");
            return (Criteria) this;
        }

        public Criteria andFinishOrderProductNumLessThanOrEqualTo(String value) {
            addCriterion("finish_order_product_num <=", value, "finishOrderProductNum");
            return (Criteria) this;
        }

        public Criteria andFinishOrderProductNumLike(String value) {
            addCriterion("finish_order_product_num like", value, "finishOrderProductNum");
            return (Criteria) this;
        }

        public Criteria andFinishOrderProductNumNotLike(String value) {
            addCriterion("finish_order_product_num not like", value, "finishOrderProductNum");
            return (Criteria) this;
        }

        public Criteria andFinishOrderProductNumIn(List<String> values) {
            addCriterion("finish_order_product_num in", values, "finishOrderProductNum");
            return (Criteria) this;
        }

        public Criteria andFinishOrderProductNumNotIn(List<String> values) {
            addCriterion("finish_order_product_num not in", values, "finishOrderProductNum");
            return (Criteria) this;
        }

        public Criteria andFinishOrderProductNumBetween(String value1, String value2) {
            addCriterion("finish_order_product_num between", value1, value2, "finishOrderProductNum");
            return (Criteria) this;
        }

        public Criteria andFinishOrderProductNumNotBetween(String value1, String value2) {
            addCriterion("finish_order_product_num not between", value1, value2, "finishOrderProductNum");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusIsNull() {
            addCriterion("delete_status is null");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusIsNotNull() {
            addCriterion("delete_status is not null");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusEqualTo(Short value) {
            addCriterion("delete_status =", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusNotEqualTo(Short value) {
            addCriterion("delete_status <>", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusGreaterThan(Short value) {
            addCriterion("delete_status >", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusGreaterThanOrEqualTo(Short value) {
            addCriterion("delete_status >=", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusLessThan(Short value) {
            addCriterion("delete_status <", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusLessThanOrEqualTo(Short value) {
            addCriterion("delete_status <=", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusIn(List<Short> values) {
            addCriterion("delete_status in", values, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusNotIn(List<Short> values) {
            addCriterion("delete_status not in", values, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusBetween(Short value1, Short value2) {
            addCriterion("delete_status between", value1, value2, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusNotBetween(Short value1, Short value2) {
            addCriterion("delete_status not between", value1, value2, "deleteStatus");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}